﻿namespace WMS6.Web.OutboundServiceRef
{
    using System;
    using System.CodeDom.Compiler;
    using System.Diagnostics;
    using System.Runtime.Serialization;

    [Serializable, DataContract(Name="WaveQueryEntity", Namespace="http://schemas.datacontract.org/2004/07/WMS6.QueryEntity"), GeneratedCode("System.Runtime.Serialization", "3.0.0.0"), DebuggerStepThrough]
    public class WaveQueryEntity : BaseQuery
    {
        [OptionalField]
        private string AllowConsolidationField;
        [OptionalField]
        private string AutoBatchField;
        [OptionalField]
        private string BatchFlagField;
        [OptionalField]
        private string CasePickDispatchMethodField;
        [OptionalField]
        private string CreatedByField;
        [OptionalField]
        private string CreatedDateField;
        [OptionalField]
        private string DescrField;
        [OptionalField]
        private string ExternalWaveIDField;
        [OptionalField]
        private string LabelsPerCaseField;
        [OptionalField]
        private string LabelsPerPalletField;
        [OptionalField]
        private string PalletPickDispatchMethodField;
        [OptionalField]
        private string PiecePickDispatchMethodField;
        [OptionalField]
        private string RowIDField;
        [OptionalField]
        private string StatusField;
        [OptionalField]
        private string UpdatedByField;
        [OptionalField]
        private string UpdatedDateField;
        [OptionalField]
        private string WaveIDField;
        [OptionalField]
        private string WaveTypeField;
        [OptionalField]
        private string WhIDField;

        [DataMember]
        public string AllowConsolidation
        {
            get
            {
                return this.AllowConsolidationField;
            }
            set
            {
                if (!object.ReferenceEquals(this.AllowConsolidationField, value))
                {
                    this.AllowConsolidationField = value;
                    base.RaisePropertyChanged("AllowConsolidation");
                }
            }
        }

        [DataMember]
        public string AutoBatch
        {
            get
            {
                return this.AutoBatchField;
            }
            set
            {
                if (!object.ReferenceEquals(this.AutoBatchField, value))
                {
                    this.AutoBatchField = value;
                    base.RaisePropertyChanged("AutoBatch");
                }
            }
        }

        [DataMember]
        public string BatchFlag
        {
            get
            {
                return this.BatchFlagField;
            }
            set
            {
                if (!object.ReferenceEquals(this.BatchFlagField, value))
                {
                    this.BatchFlagField = value;
                    base.RaisePropertyChanged("BatchFlag");
                }
            }
        }

        [DataMember]
        public string CasePickDispatchMethod
        {
            get
            {
                return this.CasePickDispatchMethodField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CasePickDispatchMethodField, value))
                {
                    this.CasePickDispatchMethodField = value;
                    base.RaisePropertyChanged("CasePickDispatchMethod");
                }
            }
        }

        [DataMember]
        public string CreatedBy
        {
            get
            {
                return this.CreatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedByField, value))
                {
                    this.CreatedByField = value;
                    base.RaisePropertyChanged("CreatedBy");
                }
            }
        }

        [DataMember]
        public string CreatedDate
        {
            get
            {
                return this.CreatedDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.CreatedDateField, value))
                {
                    this.CreatedDateField = value;
                    base.RaisePropertyChanged("CreatedDate");
                }
            }
        }

        [DataMember]
        public string Descr
        {
            get
            {
                return this.DescrField;
            }
            set
            {
                if (!object.ReferenceEquals(this.DescrField, value))
                {
                    this.DescrField = value;
                    base.RaisePropertyChanged("Descr");
                }
            }
        }

        [DataMember]
        public string ExternalWaveID
        {
            get
            {
                return this.ExternalWaveIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.ExternalWaveIDField, value))
                {
                    this.ExternalWaveIDField = value;
                    base.RaisePropertyChanged("ExternalWaveID");
                }
            }
        }

        [DataMember]
        public string LabelsPerCase
        {
            get
            {
                return this.LabelsPerCaseField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LabelsPerCaseField, value))
                {
                    this.LabelsPerCaseField = value;
                    base.RaisePropertyChanged("LabelsPerCase");
                }
            }
        }

        [DataMember]
        public string LabelsPerPallet
        {
            get
            {
                return this.LabelsPerPalletField;
            }
            set
            {
                if (!object.ReferenceEquals(this.LabelsPerPalletField, value))
                {
                    this.LabelsPerPalletField = value;
                    base.RaisePropertyChanged("LabelsPerPallet");
                }
            }
        }

        [DataMember]
        public string PalletPickDispatchMethod
        {
            get
            {
                return this.PalletPickDispatchMethodField;
            }
            set
            {
                if (!object.ReferenceEquals(this.PalletPickDispatchMethodField, value))
                {
                    this.PalletPickDispatchMethodField = value;
                    base.RaisePropertyChanged("PalletPickDispatchMethod");
                }
            }
        }

        [DataMember]
        public string PiecePickDispatchMethod
        {
            get
            {
                return this.PiecePickDispatchMethodField;
            }
            set
            {
                if (!object.ReferenceEquals(this.PiecePickDispatchMethodField, value))
                {
                    this.PiecePickDispatchMethodField = value;
                    base.RaisePropertyChanged("PiecePickDispatchMethod");
                }
            }
        }

        [DataMember]
        public string RowID
        {
            get
            {
                return this.RowIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.RowIDField, value))
                {
                    this.RowIDField = value;
                    base.RaisePropertyChanged("RowID");
                }
            }
        }

        [DataMember]
        public string Status
        {
            get
            {
                return this.StatusField;
            }
            set
            {
                if (!object.ReferenceEquals(this.StatusField, value))
                {
                    this.StatusField = value;
                    base.RaisePropertyChanged("Status");
                }
            }
        }

        [DataMember]
        public string UpdatedBy
        {
            get
            {
                return this.UpdatedByField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedByField, value))
                {
                    this.UpdatedByField = value;
                    base.RaisePropertyChanged("UpdatedBy");
                }
            }
        }

        [DataMember]
        public string UpdatedDate
        {
            get
            {
                return this.UpdatedDateField;
            }
            set
            {
                if (!object.ReferenceEquals(this.UpdatedDateField, value))
                {
                    this.UpdatedDateField = value;
                    base.RaisePropertyChanged("UpdatedDate");
                }
            }
        }

        [DataMember]
        public string WaveID
        {
            get
            {
                return this.WaveIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.WaveIDField, value))
                {
                    this.WaveIDField = value;
                    base.RaisePropertyChanged("WaveID");
                }
            }
        }

        [DataMember]
        public string WaveType
        {
            get
            {
                return this.WaveTypeField;
            }
            set
            {
                if (!object.ReferenceEquals(this.WaveTypeField, value))
                {
                    this.WaveTypeField = value;
                    base.RaisePropertyChanged("WaveType");
                }
            }
        }

        [DataMember]
        public string WhID
        {
            get
            {
                return this.WhIDField;
            }
            set
            {
                if (!object.ReferenceEquals(this.WhIDField, value))
                {
                    this.WhIDField = value;
                    base.RaisePropertyChanged("WhID");
                }
            }
        }
    }
}

